package com.nw.dsl4j.runtime.parser;

import java.io.InputStream;
import java.io.Reader;


public interface Dsl4jParser<P> {
	public P parse(InputStream inputStream) throws Exception;

	public P parse(Reader reader) throws Exception;

	public P parse(String string) throws Exception;

	public void setParserContext(Dsl4jParserContext parserContext);

	public Dsl4jParserContext getParserContext();
}
